<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript">
        function cellkeydown(event) {
            if (event.ctrlKey && event.keyCode == 86) {
                var ss = document.getElementById("textArea");
                ss.focus();
                ss.select();
                // 等50毫秒，keyPress事件发生了再去处理数据 
                setTimeout("dealwithData()", 50);
            }
        }
        function dealwithData(event) {
            var ss = document.getElementById("textArea");
            alert(ss.value);
            ss.blur();
            console.log(111);
        }
    // --></script>
</head>

<body>
    <div>

        <!-- <textarea id="textArea"> -->
        <input id="textArea" type="text">
        <input id="textAre" type="text">
    </div>
    <div></div>
    <!-- 成功1 -->
    <!-- var aaaa=window.document.querySelector('body');aaaa.addEventListener('keydown', function () {if (event.ctrlKey && event.keyCode == 86) {var ss = window.document.querySelector('.focus');ss.select();}}) -->
    <script>
        var aaaa = window.document.querySelector('body'); aaaa.addEventListener('keydown', function () { if (event.ctrlKey && event.keyCode == 86) { var ss = window.document.querySelector('#textArea'); ss.focus(); ss.select(); 
    console.log(111);
    } })
        window.document.querySelector('#textAre').addEventListener('keydown', function (e) {
            // this.focus(); 
               e.stopPropagation()
                console.log(22);
            })
    </script>
</body>

</html>